package com.bentley.kotlindemo.ui.kits.home;

import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.os.MessageQueue;

public class Book {

    private String name;

    public Book(String name, int num) {
        this.name = name;
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    private int num;

    {
        Handler handler = null;
        Looper.prepare();
        MessageQueue mq;
        Message m;

        handler.obtainMessage(1).sendToTarget();
    }
}
